﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="RSSReader.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        onobjectcreating="ObjectDataSource1_ObjectCreating" 
        SelectMethod="getUserCustomXMLArticles" 
        TypeName="RSSReader.classesCustom.UserDataHandler">
        <SelectParameters>
            <asp:Parameter Name="startRowIndex" Type="Int32" DefaultValue="1" />
            <asp:Parameter Name="maximumRows" Size="10" Type="Int32" DefaultValue="10" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <div id="box1">
        <asp:GridView ID="articlesGrid" runat="server" DataSourceID="ObjectDataSource1" 
            EnableModelValidation="True" AutoGenerateColumns="False" AllowSorting="True"
            AllowPaging="True" PageSize="8" BorderStyle="None" BackColor="White" ForeColor="Black"
            GridLines="Vertical">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
                <asp:BoundField DataField="siteID" HeaderText="siteID" 
                    SortExpression="siteID" />
                <asp:BoundField DataField="logo" HeaderText="logo" SortExpression="logo" />
                <asp:BoundField DataField="category" HeaderText="category" 
                    SortExpression="category" />
                <asp:BoundField DataField="title" HeaderText="title" SortExpression="title" />
                <asp:BoundField DataField="pubdate" HeaderText="pubdate" 
                    SortExpression="pubdate" />
                <asp:BoundField DataField="description" HeaderText="description" 
                    SortExpression="description" />
                <asp:BoundField DataField="fullArticle" HeaderText="fullArticle" 
                    SortExpression="fullArticle" />
                <asp:BoundField DataField="weblink" HeaderText="weblink" 
                    SortExpression="weblink" />
            </Columns>
            <FooterStyle BackColor="#CCCC99" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
